package com.jia.lidao.network.http.request.impl;


import com.jia.lidao.Constans;
import com.jia.lidao.network.http.request.AbstractRequest;

import org.apache.http.Header;

import java.lang.reflect.Type;
import java.util.List;

/**
 * 修改密码
 * 
 * Created by czhang on 17/12/18.
 */
public class PasswordRequest extends AbstractRequest {
	/**
	 * 旧密码
	 */
	private String origin;
	/**
	 * 新密码
	 */
	private String password;
	/**
	 * 重复密码
	 */
	private String verify;

	public PasswordRequest(String origin, String password, String verify) {
		this.origin = origin;
		this.password = password;
		this.verify = verify;
	}

	@Override
	public String getUrl() {
		return Constans.BASEURL + "/password";
	}

	@Override
	public void initRequestParams() {
		addParam("origin", origin);
		addParam("password", password);
		addParam("verify", verify);
	}

	@Override
	public List<Header> getHeaders() {
		return null;
	}

	@Override
	public Type getResultType() {
		return null;
	}
}
